/*
 * 这是个entity class，对应的是sqlite exchange_tag表里的，结构
*/

#ifndef EXCHANGETAG_H
#define EXCHANGETAG_H

#include <string>


class ExchangeTag
{
public:
    ExchangeTag();
    ExchangeTag(int tempTagId, std::string tempExchangeTagName,
                std::string tempExchangeTagTag, std::string tempExchangeTagDesc);

    int getTagId() const;
    void setTagId(int newTagId);

    const std::string &getExchangeTagName() const;
    void setExchangeTagName(const std::string &newExchangeTagName);

    const std::string &getExchangeTagTag() const;
    void setExchangeTagTag(const std::string &newExchangeTagTag);

    const std::string &getExchangeTagDesc() const;
    void setExchangeTagDesc(const std::string &newExchangeTagDesc);

private:

    /*
     * 对应exchange_tag表格的schema
     * id;
     * exchange_tag_name;
     * exchange_tag_tag;
     * exchange_tag_desc;
    */
    int tagId;
    std::string exchangeTagName;
    std::string exchangeTagTag;
    std::string exchangeTagDesc;

};

#endif // EXCHANGETAG_H
